package org.github.manx98.jlibhac.tools.fssystem.ncautils;

import org.github.manx98.jlibhac.common.math.IByteUtil;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/3 17:06
 */
public class NcaFsPatchInfo {
    PatchInfoStruct patchInfoStruct = new PatchInfoStruct();

    public NcaFsPatchInfo(byte[] data) {
        IByteUtil.mapToStruct(this.patchInfoStruct, data, 0);
    }

    public long getRelocationTreeOffset() {
        return patchInfoStruct.RelocationTreeOffset;
    }
}
